package com.lala.rennigou.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lala.rennigou.pojo.EasybuyUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface EasybuyUserMapper extends BaseMapper<EasybuyUser> {
    EasybuyUser login(String loginName);

    int insert1( EasybuyUser easybuyUser);

    List<EasybuyUser> selectAll();

    int deleteById(int id);

    EasybuyUser selectById(int id);
    EasybuyUser selectByIdAdress(int id);
}
